/*
    题目要求: 输入一个正整数n,要求打印 [0,n] 范围内的所有奇数.
        从小到大，换行分隔开 (0<=n<=100)
*/
#include <iostream>

using namespace std;

int main()
{
    int n;
    cin >> n;
    int sb;
    for (sb = 0; sb <= n; sb++)
    {
        if (sb % 2 == 1)
        {
            printf("%d\n", sb);
        }
    }
    return 0;
}